#ifndef PION_H_
#define PION_H_
#include<string>
#include<iostream>


using namespace std;

class Pion {

protected:  int couleur;
		    string name;
		    int val;
		    int posX;
		    int posY;
		    bool face;

public:

	Pion(int couleurp, string namep ,int valp ) : couleur(couleurp), name(namep), val(valp) {
		face = false;
		posX = 0;
		posY = 0;
	};
	virtual ~Pion(){};
	virtual void checkSpe(){};

	int getCouleur(){
		return couleur;
	}

	bool isFace() const {
		return face;
	}

	void setFace(bool face) {
		this->face = face;
	}

	const string& getName() const {
		return name;
	}

	void setName(const string& name) {
		this->name = name;
	}

	int getPosX() const {
		return posX;
	}

	void setPosX(int posX) {
		this->posX = posX;
	}

	int getPosY() const {
		return posY;
	}

	void setPosY(int posY) {
		this->posY = posY;
	}

	int getVal() const {
		return val;
	}

	void setVal(int val) {
		this->val = val;
	}

};

#endif /* PION_H_ */
